default: &default
  adapter: postgresql
  encoding: unicode
  # For details on connection pooling, see Rails configuration guide
  # http://guides.rubyonrails.org/configuring.html#database-pooling
  pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %>

development:
  <<: *default
  database: graphqlapp_development
  username: postgres
test:
  <<: *default
  database: graphqlapp_test
  username: postgres
production:
  <<: *default
  database: graphqlapp_production
